import { reactive } from "vue";
import type { FormRules } from "element-plus";

/** 自定义表单规则校验 */
export const formRules = reactive(<FormRules>{
  push_base_url: [
    { required: true, message: "推送url为必填项", trigger: "blur" }
  ],
  aes_key: [{ required: true, message: "aes_key为必填项", trigger: "blur" }],
  iv_param: [{ required: true, message: "iv_param为必填项", trigger: "blur" }],
  plat_form_id: [
    { required: true, message: "plat_form_id必填项", trigger: "blur" }
  ],
  key: [{ required: true, message: "key为必填项", trigger: "blur" }]
});
